{timelineName}_date

뷰 헤더에 표시되는 날짜를 정의합니다.

date1Date이벤트의 시작 날짜
date2Date이벤트의 종료 날짜

Available only in PRO Edition

Example

scheduler.templates.timeline_date = function(date1, date2){
    if (date1.getDay()==date2.getDay() && date2-date1<(24*60*60*1000))
            return scheduler.templates.day_date(date1);
        return scheduler.templates.week_date(date1, date2); 
};

Applicable views:타임라인 뷰
Details

이 템플릿은 timeline 플러그인이 활성화되어 있어야 합니다.

timeline_date 템플릿이 정의되어 있지 않으면, 헤더의 날짜는 기본적으로 week_date 템플릿에서 사용하는 형식으로 표시됩니다.

See also
맨 위로